
{if $full_page }

{include file="pageheader.htm"}

<script src="js/utils.js" ></script>
<script src="js/listtable.js" ></script>

<form method="post" action="" name="listForm" onsubmit="return confirmSubmit(this)">

  <!-- start fee items list -->
  <div class="list-div" id="listDiv">

{/if}

<table cellpadding="3" cellspacing="1">

  <tr>
    <th>{$lang.fee_title}</th>
    <th>{$lang.fee_handle}</th>
    <th>{$lang.fee_value}</th>
    <th>{$lang.fee_status}</th>
    <th>{$lang.handler}</th>
  <tr>

  {foreach from=$feelist item=fee}

  <tr>
    <td>{$fee.title}</td>
    <td class="first-cell" >{$fee.handle}</td>
    <td>{$fee.description}</td>
    <td>{$fee.isAvailableStr}</td>

    <td align="center">

	<a href="?page=fee&action=edit&id={$fee.handle}" title="{$lang.edit}"><img src="images/icon_edit.gif" width="16" height="16" border="0" /></a>

    <a href="?page=fee&action=drop&id={$fee.handle}"  onclick="return confirm('{$lang.drop_notice}');"><img src="images/icon_trash.gif" width="16" height="16" border="0" /></a>	

	</td>

  </tr>

  {foreachelse}
  
  <tr><td class="no-records" colspan="5">{$lang.no_records}</td></tr>
  
  {/foreach}

</table>
<!-- end fee items list -->

<!-- pages -->
<table id="page-table" cellspacing="0">
  <tr>
     <td align="right" nowrap="true">

    {include file="page.htm"}

    </td>
  </tr>
</table>



<br />
<!-- add new fee -->
<table id="fee_tool" cellspacing="0">
  <tr>
     <td align="right" nowrap="true">
	 &gt;&gt; <a href="?page=fee&action=new" >{$lang.add_FeeItem} </a>

    </td>
  </tr>
</table>



{if $full_page}
</div>
</form>

<script type="text/javascript">

  listTable.recordCount = {$record_count};
  listTable.pageCount = {$page_count};

  {foreach from=$filter item=item key=key}
  listTable.filter.{$key} = '{$item}';
  {/foreach} 
 
</script>

{include file="pagefooter.htm"}

{/if}